package io.gitee.dqcer.mcdull.uac.provider.system.service;

import io.gitee.dqcer.mcdull.uac.provider.system.domain.CarVehicle;
import io.gitee.dqcer.mcdull.uac.provider.system.domain.vo.CarVehicleVO;

import java.util.List;

/**
 * vehicleInfoService接口
 *
 * @author ruoyi
 * @date 2023-12-10
 */
public interface ICarVehicleService
{
    /**
     * 查询vehicleInfo
     *
     * @param vehicleId vehicleInfo主键
     * @return vehicleInfo
     */
    public CarVehicle selectCarVehicleByVehicleId(Long vehicleId);

    /**
     * 查询vehicleInfo列表
     *
     * @param carVehicle vehicleInfo
     * @return vehicleInfo集合
     */
    public List<CarVehicleVO> selectCarVehicleList(CarVehicle carVehicle);

    /**
     * 新增vehicleInfo
     *
     * @param carVehicle vehicleInfo
     * @return 结果
     */
    public int insertCarVehicle(CarVehicle carVehicle);

    /**
     * 修改vehicleInfo
     *
     * @param carVehicle vehicleInfo
     * @return 结果
     */
    public int updateCarVehicle(CarVehicle carVehicle);

    /**
     * 批量删除vehicleInfo
     *
     * @param vehicleIds 需要删除的vehicleInfo主键集合
     * @return 结果
     */
    public int deleteCarVehicleByVehicleIds(Long[] vehicleIds);

    /**
     * 删除vehicleInfo信息
     *
     * @param vehicleId vehicleInfo主键
     * @return 结果
     */
    public int deleteCarVehicleByVehicleId(Long vehicleId);
}
